<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        .di{
            height:40px;
            border-bottom: 1px solid rgb(47, 50, 59);
            border-top: 3px solid rgb(231, 83, 83);
        }
        .di a{
            display: inline-block;
      width: 80px;
      height:40px;
      color: #422d2d;
      text-align: center;
      line-height: 40px;
      font-size:17px;
        }
        .di a:hover{
            background-color: rgb(82, 82, 74);
            color: orange;
        }
    </style>
</head>
<body>
    <div class="di">
        <a heaf="#">新浪导航</a><a heaf="#">新浪导航</a><a heaf="#">新浪导航</a><a heaf="#">新浪导航</a>

    </div>
</body>
</html>